package com.zwh.dao;

import com.zwh.entity.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface EmployeeDao {

    //员工列表
    List<Employee> lists();
    //保存员工信息
    void save(Employee employee);
    //更具id查询一个员工
    Employee findById(Integer id);
    //更新员工信息
    void update(Employee employee);
    //删除员工信息
    void delete(Integer id);
}
